package com.middlegroup.payadmin.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.middlegroup.payadmin.mapper.ServiceTypeMapper;
import com.middlegroup.payadmin.pojo.po.ServiceType;
import com.middlegroup.payadmin.service.ServiceTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author pc123
 * @since 2019-01-10
 */
@Service
public class ServiceTypeServiceImpl extends ServiceImpl<ServiceTypeMapper, ServiceType> implements ServiceTypeService {

    @Resource
    private ServiceTypeMapper serviceTypeMapper;

    @Override
    public List<ServiceType> listParServiceType() {
        return serviceTypeMapper.listParServiceType();
    }

    @Override
    public List<ServiceType> listServiceType() {
        return serviceTypeMapper.listServiceType();
    }
}
